@extends('admin.layouts.app')
@section('content')

                        <!-- Page-Title -->
                        <div class="row">
                            <div class="col-sm-12">
                                <h4 class="page-title">平台管理</h4>
                                <ol class="breadcrumb">
                                    <li><a href="{{url('zadmin/')}}">系统</a></li>
                                   <li><a href="{{url('zadmin/customer-service')}}">售后订单列表</a></li>
                                    <li class="active">售后订单处理</li>
                                </ol>
                            </div>
                        </div>
                        
                        <div class="row">
                        	<div class="col-lg-12">
                        		<div class="card-box">
                            <h2 class="m-t-0 header-title">售后订单处理</h2>
                            <hr/>
                             
                              @include('admin.common.error')
                        			<div class="row">
			                        	<div class="col-md-6">
                                  <form class="form-horizontal" role="form" action="{{url('zadmin/customer-service/'.$data->id)}}" method="post">
                                    {{ method_field('PUT') }}

                                              <div class="form-group">
                                                  <label class="col-md-2 control-label">订单号</label>
                                                  <div class="col-md-10">
                                                      <input type="text" class="form-control"   value="{{object_get($data,'order.code')}}" readonly="" >
                                                  </div>
                                              </div>

                                              <div class="form-group">
                                                  <label class="col-md-2 control-label">用户名</label>
                                                  <div class="col-md-10">
                                                      <input type="text" class="form-control"  value="{{object_get($data,'user.name')}}" readonly="" >
                                                  </div>
                                              </div>
                                              <div class="form-group">
                                                  <label class="col-md-2 control-label">店铺名</label>
                                                  <div class="col-md-10">
                                                      <input type="text" class="form-control"  readonly="" value="{{object_get($data,'shop.name')}}" >
                                                  </div>
                                              </div>

                                               <div class="form-group">
                                                  <label class="col-md-2 control-label">备注</label>
                                                  <div class="col-md-10">
                                                      <textarea class="form-control" name="remark">{{$data->remark}}</textarea> 
                                                  </div>
                                              </div>
                                              

                                            <input name="order_id"  value="{{$data->order_id}}" type="hidden" />  

                                              <div class="form-group text-center">
                                                  
                                                  <button type="submit" class="btn btn-info waves-effect waves-light">保存</button>
                                              </div>
                                              
                                              
                             {{csrf_field()}}
                                          </form>
                                </div>
			                        	
			                        </div>

                             
			                        
                        			
                        		</div>
                                
                            </div> <!-- end col -->

                            
                        </div>
@endsection
                        
                        
                        

                  
            
    @section('modal')        
     
    @endsection        
       

           



    
        @section('js')

        
        @endsection
    
